package com.yixun.qfbao.apidto;

import com.yixun.qfbao.annotation.Constants;
import com.yixun.qfbao.annotation.TYWValid;
import com.yixun.qfbao.apidto.base.CommonReqDTO;

import java.io.Serializable;

/**
 * 标签修改
 * @author guifang.weng
 * @create 2017-11-23 14:49
 **/
public class EditBaseCodeTypeReqDto extends CommonReqDTO implements Serializable {
    private static final long serialVersionUID = -4056475214696667192L;
    /**
     * 标签ID
     */
    @TYWValid(min = 1,max = 20,regModel = Constants.NUMBER)
    private Long id;
    /**
     * 类型父Id
     */
    @TYWValid(regModel = Constants.NUMBER)
    private Long parentId;
    /**
     * 类型名称
     */
    @TYWValid(min = 1,max = 20)
    private String typeName;
    /**
     * 备注
     */
    @TYWValid(max = 200)
    private String remark;


    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
}
